package cn.edu.scau.cmi.ema.service;

import java.util.List;
import java.util.Set;
import java.io.IOException;
import com.alibaba.fastjson.JSONObject;
import java.util.Map;
import org.springframework.web.bind.annotation.RequestParam;
import cn.edu.scau.cmi.ema.domain.*;
import cn.edu.scau.cmi.ema.domain.base.CmiPagination;


public interface CrawlerfileService {

	public Crawlerfile saveCrawlerfile(Crawlerfile crawlerfile);

	public Set<Crawlerfile> loadCrawlerfiles();

	public Set<Crawlerfile> loadReferenceCrawlerfiles(Set<Crawlerfile> crawlerfiles);

	public Set<Crawlerfile> loadCrawlerfilesByIdSet(Set<Integer> crawlerfilesId);

	public Map<String, ?> loadCrawlerfileObjectReferencedSet(Crawlerfile crawlerfile);

	public Map<String, ?> loadCrawlerfileClassReferencedSet(Crawlerfile crawlerfile);

	public void deleteCrawlerfile(Crawlerfile crawlerfile);

	public void deleteCrawlerfiles(Set<Integer> deleteCrawlerfilesId);

	public List<Crawlerfile> findAllCrawlerfiles(Integer startResult, Integer maxRows);

	public Crawlerfile findCrawlerfileByPrimaryKey(Integer id);

	public Integer countCrawlerfiles();

	public Integer countCrawlerfiles(CmiPagination page);

	public Integer countCrawlerfilesByName(String queryName);

	public Integer countCrawlerfilesByDetachedCriteria(CmiPagination page);

}
